const { formDate } = require("../utils/utils");
module.exports = {
  createAt: {
    type: Date,
    default: Date.now,
    get(val) {
      return formDate(val);
    },
  },
  updateAt: {
    type: Date,
    default: Date.now,
    get(val) {
      return formDate(val);
    },
  },
};
